package com.coolgor.axnut.entity.airuc;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 课程信息实体类
 * @author CoolGor
 *
 */

public class Lesson {
	private Long lessonID;
	private String lessonName;	
	private String lessonDesc;	
	private String teacher;	
	private String teacherDesc;	
	private String lessonPath;	
	private String lessonImg;	
	private Long priority;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date lastEditTime;	
	private Long courseID;
	public Long getLessonID() {
		return lessonID;
	}
	public void setLessonID(Long lessonID) {
		this.lessonID = lessonID;
	}
	public String getLessonName() {
		return lessonName;
	}
	public void setLessonName(String lessonName) {
		this.lessonName = lessonName;
	}
	public String getLessonDesc() {
		return lessonDesc;
	}
	public void setLessonDesc(String lessonDesc) {
		this.lessonDesc = lessonDesc;
	}
	public String getTeacher() {
		return teacher;
	}
	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}
	public String getTeacherDesc() {
		return teacherDesc;
	}
	public void setTeacherDesc(String teacherDesc) {
		this.teacherDesc = teacherDesc;
	}
	public String getLessonPath() {
		return lessonPath;
	}
	public void setLessonPath(String lessonPath) {
		this.lessonPath = lessonPath;
	}
	public String getLessonImg() {
		return lessonImg;
	}
	public void setLessonImg(String lessonImg) {
		this.lessonImg = lessonImg;
	}
	public Long getPriority() {
		return priority;
	}
	public void setPriority(Long priority) {
		this.priority = priority;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getLastEditTime() {
		return lastEditTime;
	}
	public void setLastEditTime(Date lastEditTime) {
		this.lastEditTime = lastEditTime;
	}
	public Long getCourseID() {
		return courseID;
	}
	public void setCourseID(Long courseID) {
		this.courseID = courseID;
	}
	@Override
	public String toString() {
		return "Lesson [lessonID=" + lessonID + ", lessonName=" + lessonName + ", lessonDesc=" + lessonDesc
				+ ", teacher=" + teacher + ", teacherDesc=" + teacherDesc + ", lessonPath=" + lessonPath
				+ ", lessonImg=" + lessonImg + ", priority=" + priority + ", createTime=" + createTime
				+ ", lastEditTime=" + lastEditTime + ", courseID=" + courseID + "]";
	}	
	
}
